﻿<?php
session_start();
include("DbSingleton.php");
include("Model/Disponibilidade.php");
include("Model/Horario.php");
include("Servicos/ServicoDisciplinas.php");
include("Servicos/RepositorioDisciplinas.php");
include("Model/Disciplina.php");
include("Model/Consulta.php");
include("ViewHelper.php");

$consulta = new Consulta();

$servico = new ServicoDisciplinas();
$servico->gerarAmbienteParaConsulta();

$repositorio = new RepositorioDisciplinas();

$disciplinas = $repositorio->getDisciplinasDisponiveis();



echo ViewHelper::geraLinhasDisciplinasComAcao($disciplinas);


?>